pull: Disable static deltas by default for local pulls
authorDan Nicholson <nicholson@endlessm.com>
Fri, 5 Aug 2016 13:52:55 +0000 (06:52 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 10 Aug 2016 10:54:46 +0000 (10:54 +0000)
commit1caef17c7f9f411317a17c91dba48d54049a4d54
treeb234fd8458d23f9aac72ba0f19483f9abd8a1a5c
parent2a810fbef9968421ce5bb83d5eedb01a46581a3f
pull: Disable static deltas by default for local pulls

For local pulls there's no benefit pulling the static delta over the
individual object files since there's no HTTP overhead. Furthermore,
processing deltas always generates the objects whereas a standard pull
ensures that the exact object files are copied. Using deltas also
prevents hardlinking the objects if the repos exist on the same
filesystem.

Closes: #447
Closes: #448
Approved by: cgwalters
src/libostree/ostree-repo-pull.c